package priv.wjh.study.easyexcel.image;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description 老师信息实体类
 * @Author songwp
 * @Date 2023/3/30 13:57
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ContentRowHeight(120)
@AllArgsConstructor
@NoArgsConstructor
public class ImagePo implements Serializable {

    /**
     * 编号
     */
    @ExcelProperty("编号")
    @ExcelIgnore
    private Integer id;

    /**
     * 教师图片
     */
    @ExcelProperty(value = {"图片"}, converter = SxjgUrlImageConverter.class)
    private String image;


    /**
     * 教师图片
     */
    @ExcelProperty(value = {"图片"}, converter = ExcelUrlConverterUtil.class)
    private String imageList;

}
